//
//  QASquareCell.h
//  BaseProject
//
//  Created by 王洋 on 2020/12/10.
//  Copyright © 2020 王洋. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "CommonQAModel.h"

NS_ASSUME_NONNULL_BEGIN

@interface QASquareCell : UITableViewCell

@property (weak, nonatomic) IBOutlet UILabel *mainTitleLab;

@property (weak, nonatomic) IBOutlet UIImageView *subIcon;
@property (weak, nonatomic) IBOutlet UIImageView *userIcon;

@property (weak, nonatomic) IBOutlet UILabel *timeLab;
@property (weak, nonatomic) IBOutlet UILabel *qaCountLab;


@property (weak, nonatomic) IBOutlet UIView *askInfoControl;
@property (weak, nonatomic) IBOutlet NSLayoutConstraint *askInfoHeight;


@property (weak, nonatomic) IBOutlet UILabel *subTitleLab;

@property (weak, nonatomic) IBOutlet NSLayoutConstraint *contentHeight;



+ (CGFloat)calculateHeightWithModel:(CommonQAModel *)model;

- (void)fillWithModel:(CommonQAModel *)model;

@end

NS_ASSUME_NONNULL_END
